package com.firepongo.chaos.app.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.firepongo.chaos.app.api.data.SortData;
import com.firepongo.chaos.app.api.entity.Sort;
import com.firepongo.chaos.model.data.UpdateData;
import com.firepongo.chaos.model.dto.mu.MU;
import com.firepongo.chaos.model.dto.page.PageList;
import com.firepongo.chaos.model.dto.page.PageQueryDto;

import java.util.List;

/**
 *
 * @author G.G
 * @since 2021-08-05
*/
public interface ISortService extends IService<Sort> {

    MU insertModel(SortData data);

    boolean deleteModel(MU data);

    boolean updateModelByMU(UpdateData<SortData> data);

    SortData selectByMU(MU data);

    List<SortData> selectByData(SortData data);

    PageList<SortData> selectByPage(PageQueryDto<SortData> pageData);
}
